-- card: 7076 from stack: in._ball_s_game -- bmap block id: 7180 -- flags: 0000 -- background id: 2745 -- name: ----- HyperTalk script ----- on idle put the loc of cd btn 8 into spikyLoc put calcloc(spikyloc) into spikyloc set the loc of cd btn 8 to spikyloc put the loc of cd btn 9 into spikyLoc put calcloc(spikyloc) into spikyloc set the loc of cd btn 9 to spikyloc pass idle end idle on opencard set the loc of cd btn 8 to random(512),random(342) set the loc of cd btn 9 to random(512),random(342) pass opencard end opencard function calcloc spikyloc put the loc of bg btn 1 into ballLoc put item 1 of ballloc - item 1 of spikyloc into H put item 2 of ballloc - item 2 of spikyloc into v if H > 0 then put 20 into h if h < 0 then put -20 into h if v > 0 then put 20 into v if v < 0 then put -20 into v add h to item 1 of spikyloc add v to item 2 of spikyloc return spikyloc end calcloc -- part 1 (button) -- low flags: 00 -- high flags: 0002 -- rect: left=27 top=49 right=103 bottom=164 -- title width / last selected line: 0 -- icon id / first selected line: 13414 / 13414 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button -- part 2 (button) -- low flags: 00 -- high flags: 0002 -- rect: left=213 top=50 right=104 bottom=350 -- title width / last selected line: 0 -- icon id / first selected line: 13414 / 13414 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button -- part 3 (button) -- low flags: 00 -- high flags: 0002 -- rect: left=128 top=135 right=189 bottom=265 -- title width / last selected line: 0 -- icon id / first selected line: 13414 / 13414 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button -- part 4 (button) -- low flags: 00 -- high flags: 0002 -- rect: left=319 top=139 right=193 bottom=456 -- title width / last selected line: 0 -- icon id / first selected line: 13414 / 13414 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button -- part 5 (button) -- low flags: 00 -- high flags: 0002 -- rect: left=375 top=48 right=102 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 13414 / 13414 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button -- part 6 (button) -- low flags: 00 -- high flags: 0002 -- rect: left=21 top=205 right=259 bottom=158 -- title width / last selected line: 0 -- icon id / first selected line: 13414 / 13414 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button -- part 7 (button) -- low flags: 00 -- high flags: 0002 -- rect: left=229 top=214 right=268 bottom=366 -- title width / last selected line: 0 -- icon id / first selected line: 13414 / 13414 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button -- part 8 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=210 top=87 right=120 bottom=243 -- title width / last selected line: 0 -- icon id / first selected line: 30695 / 30695 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Special ----- HyperTalk script ----- on stuff bump opencard end stuff -- part 10 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=138 top=93 right=126 bottom=171 -- title width / last selected line: 0 -- icon id / first selected line: 30695 / 30695 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Special ----- HyperTalk script ----- on stuff bump opencard end stuff -- part 11 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=129 top=179 right=211 bottom=173 -- title width / last selected line: 0 -- icon id / first selected line: 13417 / 13417 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: coin -- part 12 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=314 top=188 right=220 bottom=358 -- title width / last selected line: 0 -- icon id / first selected line: 13417 / 13417 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: coin -- part 13 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=172 top=68 right=100 bottom=216 -- title width / last selected line: 0 -- icon id / first selected line: 13417 / 13417 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: coin -- part 14 (button) -- low flags: 80 -- high flags: 0000 -- rect: left=344 top=65 right=97 bottom=388 -- title width / last selected line: 0 -- icon id / first selected line: 13417 / 13417 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: coin -- part 15 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=0 top=217 right=249 bottom=44 -- title width / last selected line: 0 -- icon id / first selected line: 13417 / 13417 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: coin -- part 16 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=446 top=219 right=251 bottom=490 -- title width / last selected line: 0 -- icon id / first selected line: 13417 / 13417 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: coin -- part 17 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=241 top=246 right=278 bottom=285 -- title width / last selected line: 0 -- icon id / first selected line: 13417 / 13417 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: coin -- part 18 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=313 top=250 right=282 bottom=357 -- title width / last selected line: 0 -- icon id / first selected line: 13417 / 13417 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: coin -- part 19 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=282 top=253 right=285 bottom=326 -- title width / last selected line: 0 -- icon id / first selected line: 13417 / 13417 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: coin -- part contents for background part 3 ----- text ----- World 5 -- part contents for background part 6 ----- text ----- 17 -- part contents for background part 5 ----- text ----- • • • •